package cn.k.service;

import cn.k.domain.Consumption;
import cn.k.qo.ConsumptionQueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IConsumptionService {
    void insert(Consumption consumption);

    void delete(Long id);

    void update(Consumption consumption);

    Consumption get(Long id);

    List<Consumption> selectAll();

    List<Consumption> selectForList(ConsumptionQueryObject qo);

    PageInfo<Consumption> query(ConsumptionQueryObject qo);

    //有预约单的结算单
    Long save(Long aid);


    void updateStatus(Long id, int status);


}
